home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / SYSOPT23.ARJ / SYSOPTED.DOC < prev    next >
Text File  |  1992-02-22  |  15KB  |  401 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                      S y s t e m
  18.  
  19.                                   O p t i o n
  20.  
  21.                                                E d i t o r
  22.  
  23.  
  24.  
  25.  
  26.        _________________________________________________________________
  27.  
  28.  
  29.  
  30.                         System Option Editor Version 2.3
  31.  
  32.                               by: William E. Allen
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                  Copyright, 1988-92 by The EZ-SoftWare Company
  41.  
  42.                      P.O. Box 834,  Howell, Michigan  48843
  43.  
  44.  
  45.  
  46.              System Option Editor by William E. Allen [75300,272]
  47.  
  48.        Copyright 1988-92 by  EZ-SoftWare, P.O. Box 834, Howell, MI 48843
  49.  
  50.  
  51.  
  52.  
  53.        SHAREWARE
  54.  
  55.        System Option Editor is SHAREWARE. If you find this program,
  56.        valuable, and useful, please REGISTER it by sending $15.00 +
  57.        $1.00 Shipping and Handling (please add $5.00 S&H for overseas
  58.        orders) to William E. Allen P.O. Box 834 Howell, Michigan 48843.
  59.  
  60.  
  61.        DISTRIBUTION
  62.  
  63.        The programs are copyrighted, but you are hereby granted permis-
  64.        sion to make and distribute copies for personal, non-commercial
  65.        use. Use them yourself, give copies to friends and co-workers, or
  66.        distribute them for a cost-based fee (of $10.00 or less) as part
  67.        of a user's group or bulletin board service. If you wish to
  68.        distribute these programs in connection with any other product,
  69.        or for use in commercial applications, please contact us for a
  70.        license agreement. All of the files that make up this product
  71.        must be distribute together, in an UNMODIFIED form.
  72.  
  73.        The files you should have on the diskette, or in the archive are:
  74.  
  75.          SYSOPTED.EXE     Executable program
  76.  
  77.          SYSOPTED.DAT     Help message file.
  78.  
  79.          SYSOPTED.DOC     This documentation.
  80.  
  81.          SYSOPTED.REG     A registration form; COPY SYSOPTED.REG PRN
  82.  
  83.  
  84.  
  85.        INTRODUCTION
  86.  
  87.        SysOptEd works by creating customized AUTOEXEC.BAT and CONFIG.SYS
  88.        files to let you decide which startup programs to run, and which
  89.        device drivers to load, when you boot your computer. You have 26 
  90.        options, A through Z, to choose from and you can use any of the
  91.        options in any way, and in any combination you wish. Of course 
  92.        you don't need to use them all.
  93.  
  94.        To use SysOptEd, you create two new files based on your existing
  95.        AUTOEXEC.BAT and CONFIG.SYS files. These new files, AUTOEXEC.OPT
  96.        and CONFIG.OPT, contain all of the statements you would ever want
  97.        to include. Any lines that you want based on options set with
  98.        SysOptEd are prefaced with one or more option letters. You can 
  99.        choose to have these optional lines included if the associated 
  100.        option is on, or if it is off. You can combine your options, 
  101.        using boolean logic.
  102.  
  103.  
  104.  
  105.        A SIMPLE EXAMPLE
  106.  
  107.        Let's say you normally use SideKick, but sometimes you want to
  108.        use Ventura Publishing. VP tells you not to run SK, so you want
  109.        to reboot your machine without it.
  110.  
  111.        Here is what you might do:
  112.  
  113.        Rename AUTOEXEC.BAT to AUTOEXEC.OPT and modify it as follows.
  114.        Lets say that your AUTOEXEC.BAT file has the following lines:
  115.  
  116.                 PATH C:\;C:\DOS
  117.                 PROMPT $P$G
  118.                 CD \SK
  119.                 SK
  120.                 CD \
  121.                 CLS
  122.  
  123.        Create an AUTOEXEC.OPT file that looks like this:
  124.  
  125.                     PATH C:\;C:\DOS
  126.                     PROMPT $P$G
  127.                 S   CD \SK
  128.                 S   SK
  129.                     CD \
  130.                     CLS
  131.  
  132.        Now that you've created your AUTOEXEC.OPT file, use SysOptEd to
  133.        generate the proper AUTOEXEC.BAT file. To load the program, type
  134.        "SYSOPTED", press Enter, and follow the instructions on the
  135.        screen. Press F1 to read the context sensitive help screens. They
  136.        contain all the information you'll need to know to successfully
  137.        operate SysOptEd. When you have made your option choices, press
  138.        either F3 or F4 and SysOptEd will update your AUTOEXEC.BAT and/or
  139.        CONFIG.SYS files. If you press F4, SysOPtEd will offer to reboot
  140.        your computer so your new choices will take effect.
  141.  
  142.        If you choose the S option (presumably for Sidekick in our
  143.        example), all six lines would be included in your AUTOEXEC.BAT.
  144.        If you set the S option off, only the four lines not prefaced
  145.        with the S would be included.
  146.  
  147.  
  148.  
  149.        AUTOEXEC.OPT AND CONFIG.OPT
  150.  
  151.        Here are the simple rules you need to know to create your
  152.        AUTOEXEC.OPT and CONFIG.OPT files.
  153.  
  154.        Begin each line with your option letter(s) starting in the first
  155.        position (i.e. column 1). Use upper case option letters if you
  156.        want the line included when the option is on, and use lower case
  157.        if you want the line included when the option is off. If you want
  158.        a line to always be included, leave at least one blank or tab in
  159.        front of it. The leading white space will be removed when the
  160.        line is generated into your AUTOEXEC.BAT or CONFIG.SYS file.
  161.  
  162.        You can list as many option letters as you want. Separate them
  163.        with the vertical bar (|) if you want to logically OR the options
  164.        or separate them with an ampersand (&) if you want to logically
  165.        AND the options. Don't leave any space, or other characters,
  166.        between them. The line:
  167.  
  168.                 A|B    echo A or B selected
  169.  
  170.        will be included if either option A OR option B is on, and The
  171.        line:
  172.  
  173.                 A&B    echo A and B selected
  174.  
  175.        will be included only if both A AND B are on. Here is another
  176.        example:
  177.  
  178.                 A&b|C  echo (A AND NOT B) OR C is selected
  179.  
  180.        Please be careful when you experiment. If you press F3 or F4 when
  181.        you exit SysOptEd, it will write new AUTOEXEC.BAT and CONFIG.SYS
  182.        files in the root directory of the drive where it found the *.OPT
  183.        files. Pressing F4 will ask if you want to reboot. You can press
  184.        ESC to exit SysOptEd without updating your files. Of course you
  185.        can safely experiment by temporarily using a drive other than
  186.        your boot drive.
  187.  
  188.  
  189.  
  190.        A COMPLETE EXAMPLE
  191.  
  192.        Here is a complete example of SysOptEd based on my own AUTOEXEC
  193.        and CONFIG files. I use the exact same copy of AUTOEXEC.OPT and
  194.        CONFIG.OPT on my IBM PS/2 Model 70 at work, where we use the IBM
  195.        Token Ring network, as I do on my IBM/AT at home. These two
  196.        systems are vastly different, yet, using SysOptEd, I only have to
  197.        keep one set of system files up to date.
  198.  
  199.        First, here is how I have my options set up in SysOptEd:
  200.  
  201.             A:                        N: IBM Token Ring Network
  202.             B: Print Buffer           O:
  203.           √ C: Disk Cache             P: Turbo Debug 386
  204.           √ D: DESQview               Q:
  205.           √ E: Expanded Memory      √ R: RAM Disk
  206.             F:                        S: Serial Printer
  207.             G:                        T: Tape Backup/Restore
  208.             H:                        U:
  209.             I:                        V:
  210.             J:                        W: Windows
  211.             K: Keyboard Mod           X: 80386 CPU
  212.             L:                        Y:
  213.           √ M: Mouse                  Z:
  214.  
  215.        Here is what my AUTOEXEC.OPT file looks like:
  216.  
  217.                   @echo off
  218.                   cls
  219.                   echo AUTOEXEC: Sample
  220.                   cd \System
  221.                   SysOptEd /A
  222.           T       TAPEBACK.BAT
  223.           K       KBMOD
  224.           S       MODE LPT2=COM2
  225.           S       MODE COM2:9600,N,8,1,P
  226.           C&X     C:\PCKwik\SUPERPCK /s:1024 /t:16 /o+ /q+ /p-
  227.           C&x     C:\PCKwik\SUPERPCK /em /t:8 /o+ /q+ /p-
  228.           C&B     C:\PCKwik\PCKSPL /k- /x:3,3 /o:5 /v- /q- /p-
  229.           C       cls
  230.           N       cd \Net
  231.           N       NET start rdr ALLEN /srv:3 /asg:16 /nbs:512
  232.           N       Signon /N=ALLEN
  233.           N       cd \System
  234.           N       cls
  235.           M&X     C:\DV\LoadHI C:\Mouse\MOUSE.COM
  236.           M&x     C:\Mouse\MOUSE
  237.           M       set Mse=REM
  238.           m       set Mse=C:\Mouse\MOUSE
  239.           R       set Tmp=G:
  240.           N       set Pth=C:\;C:\DOS;C:\NET
  241.           n       set Pth=C:\;C:\DOS
  242.                   path %Pth%
  243.                   prompt $p »
  244.           D       DESQview.BAT
  245.           W       Windows.BAT
  246.                   cd \
  247.                   cls
  248.  
  249.        And finally, here is what my CONFIG.OPT file looks like:
  250.  
  251.                   Files=32
  252.           c       Buffers=16
  253.           C       Buffers=4
  254.           N       Lastdrive=Z
  255.                   Stacks=0,0
  256.                   Shell=C:\DOS\Command.com C:\DOS /p /e:256
  257.           P&X     Device=C:\TD\TDH386.sys
  258.           D&x     Device=C:\DV\QExt.sys
  259.           E&X&N   Device=C:\DV\QEMM.sys ram frame=c000 exclude=da00-dfff
  260.           E&X&n   Device=C:\DV\QEMM.sys ram frame=c000
  261.           E&x     Device=C:\System\EMM.sys AT D000 258 MC
  262.           R&C     Device=C:\PCKwik\PCKRamD.sys /s:2560
  263.           R&c     Device=C:\DOS\VDisk.sys 3008 512 64 /e:2
  264.           N       Device=C:\NET\DxmA0Mod.sys
  265.           N       Device=C:\NET\DxmC0Mod.sys
  266.           N       Device=C:\NET\DxmT0Mod.sys
  267.  
  268.        As you can see, I have a lot of flexibility. Of particular note,
  269.        take a look at my CONFIG.OPT file. You'll see that I'm using
  270.        QuarterDeck's QEMM.SYS on my 386 system (X) when I ask for
  271.        expanded memory (E), and I generate the line differently
  272.        depending on whether or not I'm loading the network (N). Also
  273.        notice that when I ask for a ram disk (R) I use Multisoft's
  274.        PC-Kwik device driver, but if I am not loading the PC-Kwik disk
  275.        cache (C) I use VDISK instead. And notice how I change the
  276.        buffers statement depending on the disk cacheing too.
  277.  
  278.        In my AUTOEXEC.OPT file I set an environment variable, %Mse%,
  279.        depending on whether I load the mouse driver globally (M), or not
  280.        (m). If I load the driver globally, I set Mse=REM, and if it is
  281.        not loaded, I set Mse=C:\Mouse\Mouse. Now I can use a batch file
  282.        something like this:
  283.  
  284.             %Mse%
  285.             cd \Whatever
  286.             Program that uses the mouse
  287.             %Mse% off
  288.  
  289.        to run my programs that use the mouse. They work whether I load
  290.        the mouse drive globally or not.
  291.  
  292.  
  293.        LOCATION OF FILES
  294.  
  295.        SysOptEd will look first in the current directory and then follow
  296.        your PATH to locate your AUTOEXEC.OPT and CONFIG.OPT files. The
  297.        AUTOEXEC.BAT and/or CONFIG.SYS files are always written to the
  298.        root directory of the drive where SysOptEd finds AUTOEXEC.OPT and
  299.        CONFIG.OPT. If no AUTOEXEC.OPT file is found, your AUTOEXEC.BAT
  300.        file will not be updated or created. Similarly, if no CONFIG.OPT
  301.        file is found, SysOptEd does not update or create a CONFIG.SYS
  302.        file. In other words, you can use SysOptEd for one or the other
  303.        if you wish. You don't have to use it for both your AUTOEXEC.BAT
  304.        and CONFIG.SYS if you don't want to.
  305.  
  306.  
  307.  
  308.        COMMAND-LINE PARAMETERS
  309.  
  310.        Here are some command-line parameters you can use instead of
  311.        SysOptEd's interactive mode. This is handy if you want to make a
  312.        batch file to set your system up in a certain way.
  313.  
  314.         X+ (X can be any letter A..Z) followed by a plus sign to turn
  315.            an option on.
  316.  
  317.         X- Turn option X off.
  318.  
  319.         X* Toggles option X.
  320.  
  321.         /Sn Saves current options, in an option set like S from the 
  322.             option menu.
  323.  
  324.         /Ln Loads option set n where n is 0 through 9.
  325.  
  326.         /C Clear all options.
  327.  
  328.         /A (for autoexec) command-line parameter will make the program
  329.            start up conditionally, depending on the state of the
  330.            CapsLock key. Make "SysOptEd /A" the first statement in your
  331.            AUTOEXEC.BAT file and you can change system options whenever
  332.            you boot up by pressing the CapsLock key quickly after you
  333.            hear the post (Power-On-Self-Test) "beep".
  334.  
  335.         /R Reboot the system with the new options.
  336.  
  337.         /R+ Reboot without asking.
  338.  
  339.  
  340.        I use the command line when I run my tape backup software. It
  341.        doesn't seem to get along with any TSR programs loaded, so I run
  342.        it by starting a batch file called TAPEBACK.BAT. It looks
  343.        something like this:
  344.  
  345.           SysOptEd /C T+ /R
  346.  
  347.        SysOptEd, clears all of my options (/C), selects option T (T+),
  348.        and then reboots (/R). This generates an AUTOEXEC.BAT with a few
  349.        lines I always include, followed by a call to another batch file
  350.        called TAPABACK.BAT. TAPEBACK.BAT looks something like this:
  351.  
  352.           @echo off
  353.           cd \Tools
  354.           TAPE
  355.           cd \System
  356.           SysOptEd /L0 /R+
  357.  
  358.        When my backups are finished, the batch file calls SysOptEd to
  359.        reload my default options (/L0), and reboot the computer.
  360.  
  361.  
  362.  
  363.        SOME OTHER INFORMATION
  364.  
  365.        *  SysOptEd stores your option descriptions and current choices
  366.           in a file called SYSOPT.DAT. It will first look in the current
  367.           directory, and then in the directories listed in your PATH for
  368.           the file. If it does not locate SYSOPT.DAT, it will create it
  369.           in the current directory. The date and time stamp on this file
  370.           will not change after it is created, even when you change
  371.           options, although the archive bit will be set to reflect that
  372.           the file has been updated.
  373.  
  374.        *  When SysOptEd creates your AUTOEXEC.BAT and CONFIG.SYS files,
  375.           it sets their date and time stamp the same as the correspond-
  376.           ing .OPT file.
  377.  
  378.        *  SysOptEd recognizes certain environments, such as DESQview,
  379.           Windows and Software Carousel.
  380.  
  381.           When running under DESQview or Windows, it will not allow you
  382.           to reboot the system when you press F4. Instead, it displays a
  383.           message and ends. It is also well-behaved in the DESQview
  384.           environment, writing to a DESQview shadow buffer instead of
  385.           directly to the screen.
  386.  
  387.           SysOptEd, when running in a Software Carousel partition, will
  388.           pass the reboot request to Carousel, and Carousel will display
  389.           its usual "Are you sure?" message for confirmation.
  390.  
  391.        *  When SysOptEd generates a line in your AUTOEXEC.BAT file that
  392.           contains the characters ".BAT", it will not generate any more
  393.           lines after that. It assumes that line calls another batch
  394.           file and will not return.
  395.  
  396.  
  397.        Please send comments and questions to: William E. Allen, CIS ID
  398.        [75300,272], or to EZ-SoftWare, P.O. Box 834, Howell MI 48843.
  399.  
  400.        Thank you for registering SysOptEd.
  401.